#!/bin/bash

basedir=`dirname $0`

source $basedir/defaults/main.sh
source $basedir/tasks/ready.sh
source $basedir/tasks/backup.sh
source $basedir/tasks/update.sh


echo "PATH变量为：$PATH"

# echo "---SSH当前版本信息如下：---"
# ssh -V

check
updatePrefix
upgradeTelnet
upgradeDropbear

backupSSH
upgradeOpenSSL

upgradeOpenSSH

# addToPath